package cn.tedu.epidemic.service;

import cn.tedu.community.commons.pojo.returnHome.dto.ReturnHomeDTO;
import cn.tedu.community.commons.pojo.returnHome.dto.UpdateResponseDTO;
import cn.tedu.community.commons.pojo.returnHome.vo.ReturnHomeVO;
import cn.tedu.community.commons.restful.JsonPage;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ReturnHomeService {
    void insert(ReturnHomeDTO returnHomeDTO);

    void deleteById(Long id);

    void updateById(Long id,ReturnHomeDTO returnHomeDTO);

    ReturnHomeVO returnStandard(Long id);

    JsonPage<ReturnHomeVO> returnListByUserId(Integer page,Integer pageSize);

    /*管理员专用*/
    void updateResponse(Long id, UpdateResponseDTO responseDTO);
    JsonPage<ReturnHomeVO> ListAuditedOrNot(Integer AuditedOrNot,
                                            Integer page,Integer pageSize);
}
